package com.sip.stream.utils.zfy;

import androidx.exifinterface.media.ExifInterface;
import com.google.gson.annotations.SerializedName;

public class ZFYLocation {
    @SerializedName("longitude")
    private double longitude = 0.0d;
    @SerializedName("latitude")
    private double latitude = 0.0d;
    @SerializedName("speed")
    private float speed = 0.0f;
    @SerializedName("altitude")
    private double altitude = 0.0d;
    @SerializedName("bearing")
    private float bearing = 0.0f;
    @SerializedName("bearingAccuracyDegrees")
    private float bearingAccuracyDegrees = 0.0f;
    @SerializedName("longitudeStr")
    private String longitudeStr = ExifInterface.LONGITUDE_EAST;
    @SerializedName("latitudeStr")
    private String latitudeStr = "N";
    @SerializedName("locationTime")
    private long locationTime = 0;
    @SerializedName("satellites")
    private int satellites = 0;

    public double getLongitude() {
        return this.longitude;
    }

    public void setLongitude(double longitude) {
        if (longitude >= 0.0d) {
            this.longitudeStr = ExifInterface.LONGITUDE_EAST;
        } else {
            this.longitudeStr = ExifInterface.LONGITUDE_WEST;
        }
        this.longitude = longitude;
    }

    public double getLatitude() {
        return this.latitude;
    }

    public void setLatitude(double latitude) {
        if (latitude >= 0.0d) {
            this.latitudeStr = "N";
        } else {
            this.latitudeStr = ExifInterface.LATITUDE_SOUTH;
        }
        this.latitude = latitude;
    }

    public long getLocationTime() {
        return this.locationTime;
    }

    public void setLocationTime(long locationTime) {
        this.locationTime = locationTime;
    }

    public String getLongitudeStr() {
        return this.longitudeStr;
    }

    public void setLongitudeStr(String longitudeStr) {
        this.longitudeStr = longitudeStr;
    }

    public String getLatitudeStr() {
        return this.latitudeStr;
    }

    public void setLatitudeStr(String latitudeStr) {
        this.latitudeStr = latitudeStr;
    }

    public float getSpeed() {
        return this.speed;
    }

    public void setSpeed(float speed) {
        this.speed = speed;
    }

    public double getAltitude() {
        return this.altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public float getBearing() {
        return this.bearing;
    }

    public void setBearing(float bearing) {
        this.bearing = bearing;
    }

    public int getSatellites() {
        return this.satellites;
    }

    public void setSatellites(int satellites) {
        this.satellites = satellites;
    }

    public float getBearingAccuracyDegrees() {
        return this.bearingAccuracyDegrees;
    }

    public void setBearingAccuracyDegrees(float bearingAccuracyDegrees) {
        this.bearingAccuracyDegrees = bearingAccuracyDegrees;
    }
}
